package events;

import java.util.ArrayList;
import events.Event;

public class ManageEvents {
	ArrayList stockEvents = new ArrayList();
	int indexList = -1;
	
	public void addEvent(events.Event evento){
		stockEvents.add(evento);
	}
	
	public void getEvent(int index){
		stockEvents.get(index);
	}
	
	public void removeCurrent(int index){
		stockEvents.remove(index);
	}
	
	public int getSize(){
		return stockEvents.size();
	}
	
	public events.Event getNext(){
		indexList++;
		return (events.Event)stockEvents.get(indexList);
	}
}
